package org.jon.dao;

import org.jon.domain.User;

/**
 * Created by administrator on 2017/8/20.
 */
public interface UserDao {

    /**
     * 根据用户登录名称查询User对象
     */
    User getUserByUserCode(String code);

    /**
     * 保存用户
     * @param user
     */
    void save(User user);
}
